package org.example.com.Bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@TableName("shopping_cart")
@Data
public class ShoppingCart implements Serializable {
    @TableId("id")
    private String scId;
    @TableField("book_id")
    private String id;
    @TableField(exist = false)
    private String bookName;
    @TableField(exist = false)
    private String publisher;
    @TableField(exist = false)
    private Double price;
    @TableField(exist = false)
    private String imageName;
    private String userId;
    private Integer number;
}
